package com.molichuxing.services.business.dto.response;

import com.molichuxing.framework.dto.ResponseRootDto;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 消息返回类
 */
public class MessageResDto extends ResponseRootDto {
        @ApiModelProperty(name="id",value = "主键")
        private Integer id;
        @ApiModelProperty(name="userId",value = "用户id")
        private Integer userId;
        @ApiModelProperty(name="title",value = "消息标题")
        private String title;
        @ApiModelProperty(name="message",value = "消息")
        private String message;
        @ApiModelProperty(name="type",value = "消息类型 1：首付成功，2：提车成功，3：还款成功，4：还款提醒，5：还款逾期")
        private Integer type;
        @ApiModelProperty(name = "typeName",value = "消息类型名称")
        private String typeName;
        @ApiModelProperty(name="status",value = "状态（0：未读，1：已读）")
        private Integer status;
        @ApiModelProperty(name="statusName",value = "状态名称")
        private String statusName;
        @ApiModelProperty(name = "gmtCreate",value = "消息创建时间")
        private Date gmtCreate;
        private List<MessageContentResDto> messageContentResDtoList=null;
        private static final long serialVersionUID = 1L;

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public String getStatusName() {
        return statusName;
    }

    public void setStatusName(String statusName) {
        this.statusName = statusName;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public Integer getId() {
            return id;
        }

        public void setId(Integer id) {
            this.id = id;
        }

        public Integer getUserId() {
            return userId;
        }

        public void setUserId(Integer userId) {
            this.userId = userId;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title == null ? null : title.trim();
        }

        public String getMessage() {
            return message;
        }

        public void setMessage(String message) {
            this.message = message == null ? null : message.trim();
        }

        public Integer getType() {
            return type;
        }

        public void setType(Integer type) {
            this.type = type;
        }

        public Integer getStatus() {
            return status;
        }

        public void setStatus(Integer status) {
            this.status = status;
        }

    public List<MessageContentResDto> getMessageContentResDtoList() {
        return messageContentResDtoList;
    }

    public void setMessageContentResDtoList(List<MessageContentResDto> messageContentResDtoList) {
        this.messageContentResDtoList = messageContentResDtoList;
    }
}
